<div class="page-header">
  <h1>Widget#Show</h1>
</div>

<ul class="list-unstyled list-inline">
  <li class="list-inline-item">
    <%= linkTo(adminWidgetsPath(), {class: "btn btn-info"}) { %>
      Back to all Widgets
    <% } %>
  </li>
  <li class="list-inline-item">
    <%= linkTo(editAdminWidgetPath({ admin_widget_id: widget.ID }), {class: "btn btn-warning", body: "Edit"}) %>
  </li>
  <li class="list-inline-item">
    <%= linkTo(adminWidgetPath({ admin_widget_id: widget.ID }), {class: "btn btn-danger", "data-method": "DELETE", "data-confirm": "Are you sure?", body: "Destroy"}) %>
  </li>
</ul>

<p>
  <strong>Name</strong>: <%= widget.Name %>
</p>
<p>
  <strong>Desc</strong>: <%= widget.Desc %>
</p>
